package cn.tedu.jsd2210.csmall.product.ex;

import cn.tedu.jsd2210.csmall.product.web.ServiceCode;
import lombok.Getter;

public class ServiceException extends RuntimeException{
    @Getter
    private ServiceCode code;
    public ServiceException(ServiceCode code, String message) {
        super(message);
        this.code=code;
    }
}
